import axios from '../axios.js'
export default {
	getBanks(data) {
		return axios({
			url: '/bank/selectAll/' + data.page + '/' + data.limit,
			data: {
				limit: 10,
				page: 1
			},
			method: 'POST'
		})
	},
	getManagers() {
		return axios({
			url: '/fundManager/infos',
			method: 'POST'
		})
	},
	getRegular() {
		return axios({
			url: '/fixedDeposit/findByAny',
			method: 'POST',
			data: {
				size: 1,
				page: 1
			},
		})
	},
	getRegularByFid(fid){
		return axios({
			url:'/fixedDeposit/findOne',
			method:'POST',
			data:{
				fid
			}
		})
	}

}
